package com.by.common.dao;

/**
 * @author ServivE
 * @version 0.1
 * @className MyBaseService
 * @description
 * @date 2024/11/6 20:22
 * @since jdk17
 */

import com.by.common.dao.bean.Page;
import com.by.common.dao.bean.PageResult;

/**
 * 业务层接口
 * @param <T>
 */
public interface MyBaseService<T> extends ICurd<T>{

    /**
     * <P extends Page>  分页泛型
     * @param condition
     * @return
     * @param <P>
     */
    <P extends Page> PageResult<T> query(P condition);
}
